
$(function(){
	
	var str = ""

	if(checkUserType() == 1){
		str = `<dt>
			<span>更多选项</span>
			<span class="red dn" id="noticeDot-1"></span>
			<i></i>
		</dt>
		<dd><a href="positions.html">我发布的职位</a></dd>
		
		<dd class="btm"><a href="myhome.html">我的公司主页</a></dd>
		
		<dd><a href="updatePwd.html">帐号设置</a></dd>
		<dd class="logout"><a rel="nofollow" href="login.html">退出</a></dd>`
	}else if(checkUserType() == 0){
		str = `<dt>
			<span>更多选项</span>
			<span class="red dn" id="noticeDot-1"></span>
			<i></i>
		</dt>
		<dd style="display: none;"><a rel="nofollow" href="jianli.html">我的简历</a></dd>
		<dd style="display: none;"><a href="collections.html">我收藏的职位</a></dd>
		<dd style="display: none;"><a href="delivery.html">我投递的职位 <span id="noticeNo" class="red dn">(0)</span></a></dd>
		<dd class="btm" style="display: none;"><a href="mList.html">我的职位推荐</a></dd>
		<dd class="btm" style="display: none;"><a href="subscribe.html">我的订阅</a></dd>
		
		<dd style="display: none;"><a href="updatePwd.html">帐号设置</a></dd>
		<dd class="logout" style="display: none;"><a rel="nofollow" href="login.html">退出</a></dd>`
	}else{
		str = `<dt>
			<span>更多选项</span>
			<span class="red dn" id="noticeDot-1"></span>
			<i></i>
		</dt>
		<dd style="display: none;"><a rel="nofollow" href="jianli.html">我的简历</a></dd>
		<dd style="display: none;"><a href="collections.html">我收藏的职位</a></dd>
		<dd style="display: none;"><a href="delivery.html">我投递的职位 <span id="noticeNo" class="red dn">(0)</span></a></dd>
		<dd class="btm" style="display: none;"><a href="mList.html">我的职位推荐</a></dd>
		<dd class="btm" style="display: none;"><a href="subscribe.html">我的订阅</a></dd>
		
		<dd style="display: none;"><a href="updatePwd.html">帐号设置</a></dd>
		<dd class="logout" style="display: none;"><a rel="nofollow" href="login.html">退出</a></dd>`
	}


	$("#pull-down").html(str)
})